<div class="page">
	<div class="page-header">
		<div class="pull-left">
			<i class="icon-awesome-folder-open icon-large"></i>
			<span class="divider"></span>
			<div class="title">
				<h3><?php echo __('Localizações'); ?></h3>
				<small><?php echo ('Lista de todas as localizações físicas dos equipamentos'); ?></small>
			</div>
		</div>
		<div class="pull-right">
			<?php echo $this->Html->link('<i class="icon-awesome-plus icon-white"></i>' . __('Novo'), array('action' => 'add'), array('escape' => false, 'class' => 'btn btn-primary btn-square', 'title' => 'Nova Localiação', 'id' => 'btn-new')); ?>
		</div>
	</div>
	<div class="page-content">
		<?php echo $this->Form->create('Filter', array('class' => 'well')); ?>
		<div class="control-group">
			<div class="controls">
				<div class="input-append">
					<?php echo $this->Form->input('local', array('label' => false, 'div' => false, 'class' => 'span12','placeholder' => 'Digite a categoria que está procurando')); ?>
					<?php echo $this->Form->button('<i class="icon-search icon-white"></i> Pesquisar', array('type' => 'submit', 'div' => false, 'class' => 'btn btn-primary', 'escape' => false)); ?>
				</div>
			</div>
		</div>
		<?php echo $this->Form->end();?>
	
		<table class="table table-bordered table-striped table-condensed">
		<thead>
		<tr>
			<th width="10%"><?php echo $this->Paginator->sort('id');?></th>
			<th><?php echo $this->Paginator->sort('local');?></th>
			<th class="actions" width="15%"><?php echo __('Actions');?></th>
		</tr>
		</thead>
		<tbody>
<?php
		foreach ($localizacaos as $localizacao): ?>
		<tr>
			<td><?php echo h($localizacao['Localizacao']['id']); ?>&nbsp;</td>
			<td><?php echo h($localizacao['Localizacao']['local']); ?>&nbsp;</td>
			<td class="actions">
				<?php echo $this->Html->link('<i class="icon-eye-open icon-white"></i>', array('action' => 'view', $localizacao['Localizacao']['id']), array('escape' => false, 'class' => 'btn btn-primary btn-mini')); ?>
				<?php echo $this->Html->link('<i class="icon-pencil icon-white"></i>', array('action' => 'edit', $localizacao['Localizacao']['id']), array('escape' => false, 'class' => 'btn btn-primary btn-mini')); ?>
				<?php echo $this->Form->postLink('<i class="icon-trash icon-white"></i>', array('action' => 'delete', $localizacao['Localizacao']['id']), array('escape' => false, 'class' => 'btn btn-danger btn-mini'), __('Are you sure you want to delete # %s?', $localizacao['Localizacao']['id'])); ?>
			</td>
		</tr>
<?php endforeach; ?>
		</tbody>
		</table>
		<?php echo $this->element('pagination'); ?>
	</div>
</div>